﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Server.WCF.Model
{
    public class WCFStation
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string StreetAddress { get; set; }
        public string ZipCode { get; set; }
        public string City { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public double Distance { get; set; }

        public WCFStation()
        {
            Id = 0;
            Name = "";
            StreetAddress = "";
            ZipCode = "";
            City = "";
            Longitude = 0.0;
            Latitude = 0.0;
            Distance = 0;

        }

        public WCFStation(Server.Model.Station station)
        {
            Id = station.Id;
            Name = station.Name;
            StreetAddress = station.StreetAddress;
            ZipCode = station.ZipCode;
            City = station.City;
            Longitude = station.Longitude;
            Latitude = station.Latitude;
            Distance = station.Weight;
        }
    }
}
